package com.nbsaas.boot.customer.rest.convert;

import com.nbsaas.boot.customer.data.entity.CustomerLevel;
import com.nbsaas.boot.customer.api.domain.response.CustomerLevelResponse;

import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* 客户等级-实体对象转化成响应对象
*/

public class CustomerLevelResponseConvert  implements Converter<CustomerLevelResponse,CustomerLevel> {

    @Override
    public CustomerLevelResponse convert(CustomerLevel source) {
        CustomerLevelResponse  result = new  CustomerLevelResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

